package com.yanu.trace.t2s.service.impl;

import com.yanu.trace.t2s.entity.Emp;
import com.yanu.trace.t2s.entity.MyEmp;
import com.yanu.trace.t2s.mapper.EmpMapper;
import com.yanu.trace.t2s.mapper.MyEmpMapper;
import com.yanu.trace.t2s.service.EmpService;
import com.yanu.trace.t2s.service.MyEmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyEmpServiceImpl implements MyEmpService {

    @Autowired
    MyEmpMapper empMapper;


    @Override
    public MyEmp findByEmpno(int empno) {
        return empMapper.findByEmpno1(empno);
    }
}
